<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" th:href="@{css/bootstrap.css}" />
    <link rel="stylesheet" type="text/css"  th:href="@{css/bootstrap.min.css}"/>
    <script type="text/javascript" src="../static/js/bootstrap.js"></script>
    <script type="text/javascript" th:src="@{js/jquery.min.js}"></script>
    <title>Title</title>
</head>
<body>
<h1 align="center">用户列表</h1>
<table class="table table-hover">
    <tr>
        <td>序号</td>
        <td>姓名</td>
        <td>手机号</td>
        <td>账户余额</td>
        <td>违法次数</td>
        <td>未处理违法次数</td>
        <td>总分数</td>
        <td>可用分数</td>
        <td>已记分数</td>
    </tr>
    <tr th:each="user:${userList}">
        <td th:text="${userStat.count}"></td>
        <td th:text="${user.userName}"></td>
        <td th:text="${user.tel}"></td>
        <td th:text="${user.account}"></td>
        <td th:text="${user.violationCount}"></td>
        <td th:text="${user.unDoViolationCount}"></td>
        <td th:text="${user.totalScore}"></td>
        <td th:text="${user.availableScore}"></td>
        <td th:text="${user.totalScore}-${user.availableScore}"></td>
    </tr>

</table>

</body>
</html>